package com.lixw.saa.util;

import org.springframework.ai.tool.annotation.Tool;

import java.time.LocalDateTime;

/**
 * @ClassName: DateTimeTools
 * @Description:
 * @Author: xuweiLi
 * @Create: 2025/10/4 15:33
 **/
public class DateTimeTools {
    @Tool(description = "获取当前时间",returnDirect = false)
    public String getCurrentDateTime(){
        return LocalDateTime.now().toString();
    }
}